let config = {
    // targetUrl: 'http://www.nipic.com/index.html', // 采集图片的源地址 var imgEle = $('.paddingLay1 img');
    // targetUrl: 'https://item.taobao.com/item.htm?spm=a219r.lm843.14.1.7755587e0Rbsi5&id=561484342480&ns=1&abbucket=11#detail', 

    encode: 'utf-8', // 网页内容编码类型
    // url: `https://detail.1688.com/offer/548812882255.html`,// 裙子
    // url: `https://detail.1688.com/offer/594669536578.html`,// 手机
    // url: `https://detail.1688.com/offer/598381134528.html`,// 月饼
    url: `https://detail.1688.com/offer/588837410694.html`,// 包
    // url: `https://detail.1688.com/offer/586356156812.html`,// 电脑

    
    

    
    parentPath: './paqu', // 爬取图片存放的父文件夹
    imgAttrPrefixExt: 'https:',
    loadMoreSelector: '.paging.next', // 右侧翻页按钮
    pickMetaData: [{
        selector: '.tab-content img', // 获取左上侧列表图片
        imgAttr: 'src', // 图片资源链接属性
        loadMoreSelector: '.paging.next', // 右侧翻页按钮
        listLen: 3, // 图片列表页数
        saveImgPath: 'topLeftList' // 存放图片子文件夹
    },
    {
        selector: '.obj-content img', 
        imgAttr: 'src',
        loadMoreSelector: '',
        listLen: 1,
        saveImgPath: 'topCenterList'
    },
    { // 买家还在看
        selector: '.face-detail-recommend img', // .de-irecom(与页面底部的推荐重复)
        imgAttr: 'src', 
        loadMoreSelector: '.paging.next', 
        listLen: 3, 
        saveImgPath: 'topRightList'
    },
    { // 商家推荐
        selector: '.tab-container img',
        imgAttr: 'src', 
        loadMoreSelector: '',
        listLen: 1, 
        saveImgPath: 'midTopLeftList'
    },
    { // 商家详情介绍
        selector: '.mod-detail-description img',
        imgAttr: 'src', 
        loadMoreSelector: '',
        listLen: 1, 
        saveImgPath: 'center',
        loadType: 'scroll'
    },
    { // 买家还在看 （底部）
        selector: '.mod-detail-irecom img',
        imgAttr: 'src', 
        loadMoreSelector: '',
        listLen: 1, 
        saveImgPath: 'bottom',
    }]

}

module.exports = config

